//
//  GMHActivityCollectionViewCell.m
//  
//
//  Created by 郭明皓 on 15/10/23.
//
//

#import "GMHActivityCollectionViewCell.h"
#import "DKNightVersion.h"
@implementation GMHActivityCollectionViewCell
- (void)dealloc
{
    [_images release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [DKNightVersionManager addClassToSet:self.class];
        self.nightBackgroundColor = UIColorFromRGB(0x343434);
        
        self.images = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height - 20)];
        [self.contentView addSubview:self.images];
        [_images release];
        
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, self.contentView.frame.size.height - 20, self.contentView.frame.size.width,20)];
        [self.contentView addSubview: self.label];
        [_label release];
        _label.textColor = [UIColor darkGrayColor];
        self.label.textAlignment = NSTextAlignmentCenter;
    }
    return self;
}

@end
